package myzd;

import io.prometheus.client.spring.boot.EnablePrometheusEndpoint;
import io.prometheus.client.spring.boot.EnableSpringBootMetricsCollector;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.kafka.annotation.EnableKafka;

/**
 * @author zks
 * @since 2017/10/18 16:19
 */
@SuppressWarnings("ALL")
@SpringBootApplication
@EntityScan(basePackageClasses = {GenericCmsEdgeApplication.class})
@EnableKafka
@EnableSpringBootMetricsCollector
@EnablePrometheusEndpoint
@Configuration
public class GenericCmsEdgeApplication {
  public static void main(String[] args) {
    SpringApplication.run(GenericCmsEdgeApplication.class, args);
  }
}
